<?php

namespace app\models;

use Yii;

/**
 * This is the model class for table "setting".
 *
 * @property int $id
 * @property int $order_receive 确认收货天数
 * @property int $order_success 售后天数
 * @property int $status 状态(0:异常 1: 正常)
 * @property int $created_at 创建时间
 */
class Setting extends Base
{
    /**
     * {@inheritdoc}
     */
    public static function tableName()
    {
        return 'setting';
    }

    /**
     * {@inheritdoc}
     */
    public function rules()
    {
        return [
            [['order_receive', 'order_success', 'status', 'created_at'], 'integer'],
        ];
    }

    /**
     * {@inheritdoc}
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'order_receive' => 'Order Receive',
            'order_success' => 'Order Success',
            'status' => 'Status',
            'created_at' => 'Created At',
        ];
    }
}
